package com.whoimi.admin.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author whoimi
 * @since 2025-08-01T15:20:32.603149400
 */

@Table (name ="sys_dict",schema = "wiic_admin")
public class Dict implements Serializable {

    @Serial
	private static final long serialVersionUID = 7919161459173004453L;

	/**
	 * 主键 
	 */
	@Id
   	@Column("id")
	private Long id;

	/**
	 * 类型编码
	 */
   	@Column("dict_code")
	private String dictCode;

	/**
	 * 类型名称
	 */
   	@Column("name")
	private String name;

	/**
	 * 状态(0:正常;1:禁用)
	 */
   	@Column("status")
	private Boolean status;

	/**
	 * 备注
	 */
   	@Column("remark")
	private String remark;

	/**
	 * 创建时间
	 */
   	@Column("create_time")
	private LocalDateTime createTime;

	/**
	 * 创建人ID
	 */
   	@Column("create_by")
	private Long createBy;

	/**
	 * 更新时间
	 */
   	@Column("update_time")
	private LocalDateTime updateTime;

	/**
	 * 修改人ID
	 */
   	@Column("update_by")
	private Long updateBy;

	/**
	 * 是否删除(1-删除，0-未删除)
	 */
   	@Column("is_deleted")
	private Boolean isDeleted;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getDictCode() {
		return this.dictCode;
	}

	public void setDictCode(String dictCode) {
		this.dictCode = dictCode;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Boolean getStatus() {
		return this.status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public LocalDateTime getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}

	public Long getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}

	public LocalDateTime getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(LocalDateTime updateTime) {
		this.updateTime = updateTime;
	}

	public Long getUpdateBy() {
		return this.updateBy;
	}

	public void setUpdateBy(Long updateBy) {
		this.updateBy = updateBy;
	}

	public Boolean getIsDeleted() {
		return this.isDeleted;
	}

	public void setIsDeleted(Boolean isDeleted) {
		this.isDeleted = isDeleted;
	}

}
